<?php
class Ctrinh extends AppModel {
	var $name = 'Ctrinh';
	//The Associations below have been created with all possible keys, those that are not needed can be removed

	var $belongsTo = array(
		'Chudaut' => array(
			'className' => 'Chudaut',
			'foreignKey' => 'chudaut_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Dvthicong' => array(
			'className' => 'Dvthicong',
			'foreignKey' => 'dvthicong_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Hthucdaut' => array(
			'className' => 'Hthucdaut',
			'foreignKey' => 'hthucdaut_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

	var $hasMany = array(
		'Cgtrinhthuyetminh' => array(
			'className' => 'Cgtrinhthuyetminh',
			'foreignKey' => 'ctrinh_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		),
		'Ctrinhbb' => array(
			'className' => 'Ctrinhbb',
			'foreignKey' => 'ctrinh_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		),
		'P' => array(
			'className' => 'P',
			'foreignKey' => 'ctrinh_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		),
		'Quyetdinh' => array(
			'className' => 'Quyetdinh',
			'foreignKey' => 'ctrinh_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		),
		'Tien' => array(
			'className' => 'Tien',
			'foreignKey' => 'ctrinh_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		),

		'Hangmuc' => array(
			'className' => 'Hangmuc',
			'foreignKey' => 'ctrinh_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		)
	);

}
